﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="A_NhanVien.aspx.cs" Inherits="admin_A_NhanVien" Title="Untitled Page" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>

<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
 <div style="padding:12px 12px 12px 12px;">
 <div>
        

    </div>
     <table style="width: 100%; height: 100%" align="center" border ="1">
         <tr>
             <td colspan="2" style="height: 13px; color: #993300; background-color: #cccccc;" align="center">
                 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Danh Sách Nhân Viên</td>
                 
         </tr>
         <tr>
             <td colspan="2" style="background-color: #cccccc">
                 Tên Nhân Viên :<asp:TextBox ID="txt_TenNV" runat="server" Width="122px"></asp:TextBox>
                <asp:Button ID="btn_Search" runat="server" Text="Tìm kiếm" OnClick="btn_Search_Click" /><a href="A_nhanvien_insert.aspx">Thêm</a>
   
                <asp:LinkButton ID="lbt_Xoa" runat="server" OnClick="lbt_Xoa_Click" Width="25px">Xóa</asp:LinkButton></td>
         </tr>
         <tr>
             <td colspan="2" style="height: 130px; background-color:;">
            <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
            <HeaderTemplate >
            <table cellspacing ="0" cellpadding ="0" width ="100%" bccolor="#cccccc" border="0">
            <thead >
                <tr class ="listtableheader">
                    <th> Mã </th>
                    <th> Họ Tên </th>
                    <th>Email</th>
                    <th>Mật Khẩu</th>
                    <th>Địa Chỉ</th>
                    <th>Điện Thoại</th>
                    <th> Sửa</th>
                    <th>
                      <th> <input id="cb_All" type="checkbox" onclick="CheckAll(1);"/>
                      <a href="javascript:CheckAll(2)">Chọn hết</a></th>
                    </th>
                </tr>
            </thead>
            <tbody >
            </HeaderTemplate>
            <ItemTemplate >
                <tr>
                    <td><%#Eval ("MANV")%></td>
                    <td> <asp:HyperLink ID="hyp_TenNv" runat ="server"></asp:HyperLink> </td>
                    <td><%#Eval("Email") %></td>
                    <td><%#Eval("Matkhau") %></td>
                    <td><%#Eval("diachi") %></td>
                    <td><%#Eval("dienthoai") %></td>
                    <td> <asp:HyperLink ID ="hpl_edit" Text ="Edit" runat="server" /></td>
                    <td>
                        <asp:CheckBox ID="cb_Xoa" runat="server" />
                        <asp:HiddenField ID="hf_id" Value ='<%#Eval("MANV")%>'  runat="server" />   
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody>
            </table>
            </FooterTemplate>
            </asp:Repeater>
            
                <cc1:PagerV2_8 ID="Pager" runat="server" OnCommand="Pager_Command" Width="80px"/>
             </td>
         </tr>
     </table>
    </div>
</asp:Content>

